package jtk.project4.fleet.event;

import java.util.List;

import jtk.project4.fleet.domain.BrowsePayments;
import jtk.project4.fleet.domain.Invoices;
import jtk.project4.fleet.domain.Payments;
import jtk.project4.fleet.event.BrowsePaymentsEvent.BrowsePaymentsType;
import nl.coderight.jazz.Event;
import nl.coderight.jazz.form.field.TableField;


	public class BrowsePaymentsEvent extends Event<BrowsePaymentsType>{
		//private List<BrowsePayments> browsepayment;
		//private TableField<BrowsePayments> tablefieldsbrowsepayments;
		private List<Invoices> invoices;
		private List<Payments> payments;
		
		public enum BrowsePaymentsType{
			LOAD_SUCCESS,
			FILTER, ADD, EDIT, DELETE, SUBMIT, CANCEL, SELECT, CHANGE;
		}
		
		public BrowsePaymentsEvent(BrowsePaymentsType type){
			super(type);
		}

		public void setInvoices(List<Invoices> invoices) {
			this.invoices = invoices;
		}

		public List<Invoices> getInvoices() {
			return invoices;
		}

		public void setPayments(List<Payments> payments) {
			this.payments = payments;
		}
		public List<Payments> getPayments() {
			// TODO Auto-generated method stub
			return payments;
		}

//		public List<BrowsePayments> getBrowsePayments(){
//			return browsepayment;
//		}
//		public void setBrowsePayments(List<BrowsePayments> browsepayment){
//			this.browsepayment=browsepayment;
//		}

//		}
		
		
}
